package com.heiye.blog.framework.common.enums;

import com.heiye.blog.framework.common.exception.BaseExceptionInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: heiye
 * @CreateTime: 2024/11/18 上午17:14
 * @Description: 响应异常码
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum ResponseCodeEnum implements BaseExceptionInterface {

    // ----------- 通用异常状态码 -----------
    SYSTEM_ERROR("SYSTEM-10000", "出错啦，后台小哥正在努力修复中..."),
    PARAM_NOT_VALID("SYSTEM-10001", "参数错误"),
    ;

    // 异常码
    private final String errorCode;
    // 错误信息
    private final String errorMessage;

}
